package com.clkj.aimin.pojo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author yawang
 */
@ApiModel( value ="t_cl_userRegister" )
@Table( name ="t_cl_userRegister" )
public class UserRegister  implements Serializable {

    @Id
   	@Column(name = "register_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer registerId;

	/**
	 * 用户ID
	 */
   	@Column(name = "user_id" )
	@ApiModelProperty( value="用户ID")
	private Integer userId;

	/**
	 * 医生ID
	 */
   	@Column(name = "doctor_id" )
	@ApiModelProperty( value="医生ID")
	private Integer doctorId;

	/**
	 * 时间段ID
	 */
   	@Column(name = "time_slot" )
	@ApiModelProperty( value="时间段ID")
	private String timeSlot;

	/**
	 * 挂号时间
	 */
   	@Column(name = "date_time" )
	@ApiModelProperty( value="挂号时间")
	private String dateTime;


    /**
     * 挂号时间
     */
    @Column(name = "week_num" )
    @ApiModelProperty( value="周几")
    private Integer weekNum;

    /**
     * 哪天的号
     */
    @Column(name = "register_date" )
    @ApiModelProperty( value="哪天的号")
    private String registerDate;


    /**
     * 科室ID
     */
    @Column(name = "department_id" )
    @ApiModelProperty( value="哪天的号")
    private Integer departmentId;

    @Transient
    private String doctorName;

    @Transient
    private String departmentName;

    @Transient
    private String userName;




  public Integer getRegisterId() {
    return registerId;
  }

  public void setRegisterId(Integer registerId) {
    this.registerId = registerId;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public Integer getDoctorId() {
    return doctorId;
  }

  public void setDoctorId(Integer doctorId) {
    this.doctorId = doctorId;
  }




  public String getDateTime() {
    return dateTime;
  }

  public void setDateTime(String dateTime) {
    this.dateTime = dateTime;
  }

    public Integer getWeekNum() {
        return weekNum;
    }

    public void setWeekNum(Integer weekNum) {
        this.weekNum = weekNum;
    }

    public String getRegisterDate() {
        return registerDate;
    }

    public void setRegisterDate(String registerDate) {
        this.registerDate = registerDate;
    }

    public String getTimeSlot() {
        return timeSlot;
    }

    public void setTimeSlot(String timeSlot) {
        this.timeSlot = timeSlot;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
